package com.jiang.专题.数学.Q172;

/**
 * @author Jiang
 * @version 1.0
 * @date 2025/08/22 11:13
 */
class Solution {
    public int trailingZeroes(int n) {
        int res = 0;
        while (n != 0) {
            n /= 5;
            res += n;
        }
        return res;
    }
}
